package org.netwia.networks;

/**
 * Defines functionality of the output listener.
 * Listener is invoked whenever new output come.
 * 
 * @author radek.hecl
 *
 * @param <T> type of the parameter
 */
public interface OutputListener<T> {

    /**
     * Callback function called when the output is produced.
     * 
     * @param output produced output
     */
    public void outputProduced(T output);
    
}
